Optimal. Leaf size=133 \[ -\frac {(4 x+19) \left (3 x^2+2\right )^{5/2}}{16 (2 x+3)^4}-\frac {(5517 x+5003) \left (3 x^2+2\right )^{3/2}}{672 (2 x+3)^3}+\frac {3 (1917 x+6125) \sqrt {3 x^2+2}}{448 (2 x+3)}-\frac {188379 \tanh ^{-1}\left (\frac {4-9 x}{\sqrt {35} \sqrt {3 x^2+2}}\right )}{896 \sqrt {35}}-\frac {2625}{128} \sqrt {3} \sinh ^{-1}\left (\sqrt {\frac {3}{2}} x\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.08, antiderivative size = 133, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 6, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {813, 811, 844, 215, 725, 206} \begin {gather*} -\frac {(4 x+19) \left (3 x^2+2\right )^{5/2}}{16 (2 x+3)^4}-\frac {(5517 x+5003) \left (3 x^2+2\right )^{3/2}}{672 (2 x+3)^3}+\frac {3 (1917 x+6125) \sqrt {3 x^2+2}}{448 (2 x+3)}-\frac {188379 \tanh ^{-1}\left (\frac {4-9 x}{\sqrt {35} \sqrt {3 x^2+2}}\right )}{896 \sqrt {35}}-\frac {2625}{128} \sqrt {3} \sinh ^{-1}\left (\sqrt {\frac {3}{2}} x\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 206
Rule 215
Rule 725
Rule 811
Rule 813
Rule 844
Rubi steps
\begin {align*} \int \frac {(5-x) \left (2+3 x^2\right )^{5/2}}{(3+2 x)^5} \, dx &=-\frac {(19+4 x) \left (2+3 x^2\right )^{5/2}}{16 (3+2 x)^4}-\frac {5}{64} \int \frac {(32-228 x) \left (2+3 x^2\right )^{3/2}}{(3+2 x)^4} \, dx\\ &=-\frac {(5003+5517 x) \left (2+3 x^2\right )^{3/2}}{672 (3+2 x)^3}-\frac {(19+4 x) \left (2+3 x^2\right )^{5/2}}{16 (3+2 x)^4}+\frac {\int \frac {(-35904+184032 x) \sqrt {2+3 x^2}}{(3+2 x)^2} \, dx}{7168}\\ &=\frac {3 (6125+1917 x) \sqrt {2+3 x^2}}{448 (3+2 x)}-\frac {(5003+5517 x) \left (2+3 x^2\right )^{3/2}}{672 (3+2 x)^3}-\frac {(19+4 x) \left (2+3 x^2\right )^{5/2}}{16 (3+2 x)^4}-\frac {\int \frac {-1472256+7056000 x}{(3+2 x) \sqrt {2+3 x^2}} \, dx}{57344}\\ &=\frac {3 (6125+1917 x) \sqrt {2+3 x^2}}{448 (3+2 x)}-\frac {(5003+5517 x) \left (2+3 x^2\right )^{3/2}}{672 (3+2 x)^3}-\frac {(19+4 x) \left (2+3 x^2\right )^{5/2}}{16 (3+2 x)^4}-\frac {7875}{128} \int \frac {1}{\sqrt {2+3 x^2}} \, dx+\frac {188379}{896} \int \frac {1}{(3+2 x) \sqrt {2+3 x^2}} \, dx\\ &=\frac {3 (6125+1917 x) \sqrt {2+3 x^2}}{448 (3+2 x)}-\frac {(5003+5517 x) \left (2+3 x^2\right )^{3/2}}{672 (3+2 x)^3}-\frac {(19+4 x) \left (2+3 x^2\right )^{5/2}}{16 (3+2 x)^4}-\frac {2625}{128} \sqrt {3} \sinh ^{-1}\left (\sqrt {\frac {3}{2}} x\right )-\frac {188379}{896} \operatorname {Subst}\left (\int \frac {1}{35-x^2} \, dx,x,\frac {4-9 x}{\sqrt {2+3 x^2}}\right )\\ &=\frac {3 (6125+1917 x) \sqrt {2+3 x^2}}{448 (3+2 x)}-\frac {(5003+5517 x) \left (2+3 x^2\right )^{3/2}}{672 (3+2 x)^3}-\frac {(19+4 x) \left (2+3 x^2\right )^{5/2}}{16 (3+2 x)^4}-\frac {2625}{128} \sqrt {3} \sinh ^{-1}\left (\sqrt {\frac {3}{2}} x\right )-\frac {188379 \tanh ^{-1}\left (\frac {4-9 x}{\sqrt {35} \sqrt {2+3 x^2}}\right )}{896 \sqrt {35}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.16, size = 97, normalized size = 0.73 \begin {gather*} \frac {-565137 \sqrt {35} \tanh ^{-1}\left (\frac {4-9 x}{\sqrt {35} \sqrt {3 x^2+2}}\right )-\frac {70 \sqrt {3 x^2+2} \left (3024 x^5-57456 x^4-898734 x^3-2762820 x^2-3335009 x-1421955\right )}{(2 x+3)^4}-1929375 \sqrt {3} \sinh ^{-1}\left (\sqrt {\frac {3}{2}} x\right )}{94080} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 1.31, size = 126, normalized size = 0.95 \begin {gather*} \frac {2625}{128} \sqrt {3} \log \left (\sqrt {3 x^2+2}-\sqrt {3} x\right )+\frac {188379 \tanh ^{-1}\left (-\frac {2 \sqrt {3 x^2+2}}{\sqrt {35}}+2 \sqrt {\frac {3}{35}} x+3 \sqrt {\frac {3}{35}}\right )}{448 \sqrt {35}}+\frac {\sqrt {3 x^2+2} \left (-3024 x^5+57456 x^4+898734 x^3+2762820 x^2+3335009 x+1421955\right )}{1344 (2 x+3)^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.46, size = 176, normalized size = 1.32 \begin {gather*} \frac {1929375 \, \sqrt {3} {\left (16 \, x^{4} + 96 \, x^{3} + 216 \, x^{2} + 216 \, x + 81\right )} \log \left (\sqrt {3} \sqrt {3 \, x^{2} + 2} x - 3 \, x^{2} - 1\right ) + 565137 \, \sqrt {35} {\left (16 \, x^{4} + 96 \, x^{3} + 216 \, x^{2} + 216 \, x + 81\right )} \log \left (-\frac {\sqrt {35} \sqrt {3 \, x^{2} + 2} {\left (9 \, x - 4\right )} + 93 \, x^{2} - 36 \, x + 43}{4 \, x^{2} + 12 \, x + 9}\right ) - 140 \, {\left (3024 \, x^{5} - 57456 \, x^{4} - 898734 \, x^{3} - 2762820 \, x^{2} - 3335009 \, x - 1421955\right )} \sqrt {3 \, x^{2} + 2}}{188160 \, {\left (16 \, x^{4} + 96 \, x^{3} + 216 \, x^{2} + 216 \, x + 81\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.82, size = 440, normalized size = 3.31 \begin {gather*} -\frac {188379}{31360} \, \sqrt {35} \log \left (\sqrt {35} {\left (\sqrt {-\frac {18}{2 \, x + 3} + \frac {35}{{\left (2 \, x + 3\right )}^{2}} + 3} + \frac {\sqrt {35}}{2 \, x + 3}\right )} - 9\right ) \mathrm {sgn}\left (\frac {1}{2 \, x + 3}\right ) + \frac {2625}{128} \, \sqrt {3} \log \left (\frac {{\left | -2 \, \sqrt {3} + 2 \, \sqrt {-\frac {18}{2 \, x + 3} + \frac {35}{{\left (2 \, x + 3\right )}^{2}} + 3} + \frac {2 \, \sqrt {35}}{2 \, x + 3} \right |}}{2 \, {\left (\sqrt {3} + \sqrt {-\frac {18}{2 \, x + 3} + \frac {35}{{\left (2 \, x + 3\right )}^{2}} + 3} + \frac {\sqrt {35}}{2 \, x + 3}\right )}}\right ) \mathrm {sgn}\left (\frac {1}{2 \, x + 3}\right ) - \frac {1}{10752} \, {\left (\frac {7 \, {\left (\frac {35 \, {\left (\frac {1365 \, \mathrm {sgn}\left (\frac {1}{2 \, x + 3}\right )}{2 \, x + 3} - 2129 \, \mathrm {sgn}\left (\frac {1}{2 \, x + 3}\right )\right )}}{2 \, x + 3} + 57681 \, \mathrm {sgn}\left (\frac {1}{2 \, x + 3}\right )\right )}}{2 \, x + 3} - 242979 \, \mathrm {sgn}\left (\frac {1}{2 \, x + 3}\right )\right )} \sqrt {-\frac {18}{2 \, x + 3} + \frac {35}{{\left (2 \, x + 3\right )}^{2}} + 3} - \frac {9 \, {\left (256 \, {\left (\sqrt {-\frac {18}{2 \, x + 3} + \frac {35}{{\left (2 \, x + 3\right )}^{2}} + 3} + \frac {\sqrt {35}}{2 \, x + 3}\right )}^{3} \mathrm {sgn}\left (\frac {1}{2 \, x + 3}\right ) - 93 \, \sqrt {35} {\left (\sqrt {-\frac {18}{2 \, x + 3} + \frac {35}{{\left (2 \, x + 3\right )}^{2}} + 3} + \frac {\sqrt {35}}{2 \, x + 3}\right )}^{2} \mathrm {sgn}\left (\frac {1}{2 \, x + 3}\right ) - 582 \, {\left (\sqrt {-\frac {18}{2 \, x + 3} + \frac {35}{{\left (2 \, x + 3\right )}^{2}} + 3} + \frac {\sqrt {35}}{2 \, x + 3}\right )} \mathrm {sgn}\left (\frac {1}{2 \, x + 3}\right ) + 225 \, \sqrt {35} \mathrm {sgn}\left (\frac {1}{2 \, x + 3}\right )\right )}}{64 \, {\left ({\left (\sqrt {-\frac {18}{2 \, x + 3} + \frac {35}{{\left (2 \, x + 3\right )}^{2}} + 3} + \frac {\sqrt {35}}{2 \, x + 3}\right )}^{2} - 3\right )}^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.07, size = 227, normalized size = 1.71 \begin {gather*} -\frac {58629 \left (-9 x +3 \left (x +\frac {3}{2}\right )^{2}-\frac {19}{4}\right )^{\frac {3}{2}} x}{274400}-\frac {58491 \sqrt {-9 x +3 \left (x +\frac {3}{2}\right )^{2}-\frac {19}{4}}\, x}{15680}-\frac {89151 \left (-9 x +3 \left (x +\frac {3}{2}\right )^{2}-\frac {19}{4}\right )^{\frac {5}{2}} x}{6002500}-\frac {2625 \sqrt {3}\, \arcsinh \left (\frac {\sqrt {6}\, x}{2}\right )}{128}-\frac {188379 \sqrt {35}\, \arctanh \left (\frac {2 \left (-9 x +4\right ) \sqrt {35}}{35 \sqrt {-36 x +12 \left (x +\frac {3}{2}\right )^{2}-19}}\right )}{31360}+\frac {23 \left (-9 x +3 \left (x +\frac {3}{2}\right )^{2}-\frac {19}{4}\right )^{\frac {7}{2}}}{117600 \left (x +\frac {3}{2}\right )^{3}}-\frac {1041 \left (-9 x +3 \left (x +\frac {3}{2}\right )^{2}-\frac {19}{4}\right )^{\frac {7}{2}}}{343000 \left (x +\frac {3}{2}\right )^{2}}+\frac {29717 \left (-9 x +3 \left (x +\frac {3}{2}\right )^{2}-\frac {19}{4}\right )^{\frac {7}{2}}}{6002500 \left (x +\frac {3}{2}\right )}+\frac {188379 \left (-9 x +3 \left (x +\frac {3}{2}\right )^{2}-\frac {19}{4}\right )^{\frac {5}{2}}}{6002500}+\frac {62793 \left (-9 x +3 \left (x +\frac {3}{2}\right )^{2}-\frac {19}{4}\right )^{\frac {3}{2}}}{137200}+\frac {188379 \sqrt {-36 x +12 \left (x +\frac {3}{2}\right )^{2}-19}}{31360}-\frac {13 \left (-9 x +3 \left (x +\frac {3}{2}\right )^{2}-\frac {19}{4}\right )^{\frac {7}{2}}}{2240 \left (x +\frac {3}{2}\right )^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.54, size = 206, normalized size = 1.55 \begin {gather*} \frac {3123}{343000} \, {\left (3 \, x^{2} + 2\right )}^{\frac {5}{2}} - \frac {13 \, {\left (3 \, x^{2} + 2\right )}^{\frac {7}{2}}}{140 \, {\left (16 \, x^{4} + 96 \, x^{3} + 216 \, x^{2} + 216 \, x + 81\right )}} + \frac {23 \, {\left (3 \, x^{2} + 2\right )}^{\frac {7}{2}}}{14700 \, {\left (8 \, x^{3} + 36 \, x^{2} + 54 \, x + 27\right )}} - \frac {1041 \, {\left (3 \, x^{2} + 2\right )}^{\frac {7}{2}}}{85750 \, {\left (4 \, x^{2} + 12 \, x + 9\right )}} - \frac {58629}{274400} \, {\left (3 \, x^{2} + 2\right )}^{\frac {3}{2}} x + \frac {62793}{137200} \, {\left (3 \, x^{2} + 2\right )}^{\frac {3}{2}} + \frac {29717 \, {\left (3 \, x^{2} + 2\right )}^{\frac {5}{2}}}{343000 \, {\left (2 \, x + 3\right )}} - \frac {58491}{15680} \, \sqrt {3 \, x^{2} + 2} x - \frac {2625}{128} \, \sqrt {3} \operatorname {arsinh}\left (\frac {1}{2} \, \sqrt {6} x\right ) + \frac {188379}{31360} \, \sqrt {35} \operatorname {arsinh}\left (\frac {3 \, \sqrt {6} x}{2 \, {\left | 2 \, x + 3 \right |}} - \frac {2 \, \sqrt {6}}{3 \, {\left | 2 \, x + 3 \right |}}\right ) + \frac {188379}{15680} \, \sqrt {3 \, x^{2} + 2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.13, size = 180, normalized size = 1.35 \begin {gather*} \frac {188379\,\sqrt {35}\,\ln \left (x+\frac {3}{2}\right )}{31360}+\frac {225\,\sqrt {3}\,\sqrt {x^2+\frac {2}{3}}}{64}-\frac {2625\,\sqrt {3}\,\mathrm {asinh}\left (\frac {\sqrt {2}\,\sqrt {3}\,x}{2}\right )}{128}-\frac {188379\,\sqrt {35}\,\ln \left (x-\frac {\sqrt {3}\,\sqrt {35}\,\sqrt {x^2+\frac {2}{3}}}{9}-\frac {4}{9}\right )}{31360}-\frac {15925\,\sqrt {3}\,\sqrt {x^2+\frac {2}{3}}}{4096\,\left (x^4+6\,x^3+\frac {27\,x^2}{2}+\frac {27\,x}{2}+\frac {81}{16}\right )}+\frac {80993\,\sqrt {3}\,\sqrt {x^2+\frac {2}{3}}}{3584\,\left (x+\frac {3}{2}\right )}-\frac {19227\,\sqrt {3}\,\sqrt {x^2+\frac {2}{3}}}{1024\,\left (x^2+3\,x+\frac {9}{4}\right )}-\frac {9\,\sqrt {3}\,x\,\sqrt {x^2+\frac {2}{3}}}{64}+\frac {74515\,\sqrt {3}\,\sqrt {x^2+\frac {2}{3}}}{6144\,\left (x^3+\frac {9\,x^2}{2}+\frac {27\,x}{4}+\frac {27}{8}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________